Function |from_bool
json/value::|from_bool
Usage
|from_bool<B>(value)
Generics
◻ B: ToBool
Parameters
↳ value: B
Return
↴ Json
Convert a bool-convertible value into a JSON boolean.
Press ← or → to navigate between chapters
Press S or / to search in the book
Press ? to show this help
Press Esc to hide this help
json/value::|from_bool
|from_bool<B>(value)
◻ B: ToBool
↳ value: B
↴ Json
Convert a bool-convertible value into a JSON boolean.